package com.dl.designmodel.loginAdapter;

import com.dl.pojo.CommonResult;

/**
 * @ProjectName: mcroservices
 * @Package: com.dl.designmodel.loginAdapter
 * @ClassName: LoginForQQAdapter
 * @Author: 86977
 * @Description: ${description}
 * @Date: 2021/6/29 09:32
 * @Version: 1.0
 */
public class LoginForQQAdapter extends  AbstraceAdapter {

  @Override
  public boolean support(Object adapter) {
    return adapter instanceof  LoginForQQAdapter;
  }

  @Override
  public CommonResult login(String id, Object adapter) {
    if(!support(adapter)){return null;}
    return super.loginForRegist(id, adapter);
  }
}
